<template>
	<tabbar currentPages="在线商城"></tabbar>
	<onlineMall :scrollHeight="'calc(100vh - 120rpx)'" ref="onlineMallRef" />
	<view>
		
	</view>
</template>

<script lang="ts" setup>
import onlineMall from '@/pages/onlineMall/components/onlineMall.vue'
import {onShow} from '@dcloudio/uni-app'
import {onMounted, ref} from 'vue'
const onlineMallRef = ref(null)
onShow(()=>{
	onlineMallRef.value && onlineMallRef.value.init();
})
onMounted(()=>{
	onlineMallRef.value && onlineMallRef.value.init();
})
</script>

<style lang="scss" scoped>
</style>